package com.zhike.model;
//样品信息表
public class Sample implements Comparable<Sample>{
private Integer id;//编号
private String ids;
private String entrustmentNumber;//委托编号
private String sampleName;//样品名称
private String sampleNumber;//样品编号
private String sampleModel;//规格型号
private String manufacturer;//生产厂家
private String sampleAmount;//样品数量
private String standAmount;//代表批量
private String useParts;//使用部位
private String standardId;//检测能力范围
private String taskDate;//任务处理日期
private String sampleState;//样品状态 已收样，检测中，留样中，已处置
private String registerDate;//登记时间（入库时间）
private String registerPeople;//登记人
private String getMan;//填领样人
private String getDate;//领养日期（出库时间）
private String retentionDate;//样品留样日期
private String lienPeriod;//留置期 样品的默认留置期为7d
private String collector;//收样员（处理人）
private String processingDate;//处理日期
private String processingResults;//处理结果
private String entrustmentDate;//委托日期
private String projectName;//工程名称
private String entrustmentUnit;//委托单位
private String witnessUnit;//见证单位
private String witness;//见证人
private String sampleSource;//样品来源
private String testType;//检验类别
private String startDate;//查询开始时间
private String endDate;//查询结束时间
private Integer page;//当前页数
private Integer pageSize;//每页条数
private String parameter;//自由参数
private String CommissionNumber;//委托编号
private String SampleStatus;//样品状态
private String BatchNumber;//生产编号
private String Other;//其他信息




public String getCommissionNumber() {
	return CommissionNumber;
}
public void setCommissionNumber(String commissionNumber) {
	CommissionNumber = commissionNumber;
}
public String getSampleStatus() {
	return SampleStatus;
}
public void setSampleStatus(String sampleStatus) {
	SampleStatus = sampleStatus;
}
public String getBatchNumber() {
	return BatchNumber;
}
public void setBatchNumber(String batchNumber) {
	BatchNumber = batchNumber;
}
public String getOther() {
	return Other;
}
public void setOther(String other) {
	Other = other;
}
public String getIds() {
	return ids;
}
public void setIds(String ids) {
	this.ids = ids;
}
public String getParameter() {
	return parameter;
}
public void setParameter(String parameter) {
	this.parameter = parameter;
}
public Integer getId() {
	return id;
}
public void setId(Integer id) {
	this.id = id;
}
public String getEntrustmentNumber() {
	return entrustmentNumber;
}
public void setEntrustmentNumber(String entrustmentNumber) {
	this.entrustmentNumber = entrustmentNumber;
}
public String getSampleName() {
	return sampleName;
}
public void setSampleName(String sampleName) {
	this.sampleName = sampleName;
}
public String getSampleNumber() {
	return sampleNumber;
}
public void setSampleNumber(String sampleNumber) {
	this.sampleNumber = sampleNumber;
}
public String getSampleModel() {
	return sampleModel;
}
public void setSampleModel(String sampleModel) {
	this.sampleModel = sampleModel;
}
public String getManufacturer() {
	return manufacturer;
}
public void setManufacturer(String manufacturer) {
	this.manufacturer = manufacturer;
}
public String getSampleAmount() {
	return sampleAmount;
}
public void setSampleAmount(String sampleAmount) {
	this.sampleAmount = sampleAmount;
}
public String getStandAmount() {
	return standAmount;
}
public void setStandAmount(String standAmount) {
	this.standAmount = standAmount;
}
public String getUseParts() {
	return useParts;
}
public void setUseParts(String useParts) {
	this.useParts = useParts;
}
public String getStandardId() {
	return standardId;
}
public void setStandardId(String standardId) {
	this.standardId = standardId;
}
public String getTaskDate() {
	return taskDate;
}
public void setTaskDate(String taskDate) {
	this.taskDate = taskDate;
}
public String getSampleState() {
	return sampleState;
}
public void setSampleState(String sampleState) {
	this.sampleState = sampleState;
}
public String getRegisterDate() {
	return registerDate;
}
public void setRegisterDate(String registerDate) {
	this.registerDate = registerDate;
}
public String getRegisterPeople() {
	return registerPeople;
}
public void setRegisterPeople(String registerPeople) {
	this.registerPeople = registerPeople;
}
public String getGetMan() {
	return getMan;
}
public void setGetMan(String getMan) {
	this.getMan = getMan;
}
public String getGetDate() {
	return getDate;
}
public void setGetDate(String getDate) {
	this.getDate = getDate;
}
public String getRetentionDate() {
	return retentionDate;
}
public void setRetentionDate(String retentionDate) {
	this.retentionDate = retentionDate;
}
public String getLienPeriod() {
	return lienPeriod;
}
public void setLienPeriod(String lienPeriod) {
	this.lienPeriod = lienPeriod;
}
public String getCollector() {
	return collector;
}
public void setCollector(String collector) {
	this.collector = collector;
}
public String getProcessingDate() {
	return processingDate;
}
public void setProcessingDate(String processingDate) {
	this.processingDate = processingDate;
}
public String getProcessingResults() {
	return processingResults;
}
public void setProcessingResults(String processingResults) {
	this.processingResults = processingResults;
}
public String getEntrustmentDate() {
	return entrustmentDate;
}
public void setEntrustmentDate(String entrustmentDate) {
	this.entrustmentDate = entrustmentDate;
}
public String getProjectName() {
	return projectName;
}
public void setProjectName(String projectName) {
	this.projectName = projectName;
}
public String getEntrustmentUnit() {
	return entrustmentUnit;
}
public void setEntrustmentUnit(String entrustmentUnit) {
	this.entrustmentUnit = entrustmentUnit;
}
public String getWitnessUnit() {
	return witnessUnit;
}
public void setWitnessUnit(String witnessUnit) {
	this.witnessUnit = witnessUnit;
}
public String getWitness() {
	return witness;
}
public void setWitness(String witness) {
	this.witness = witness;
}
public String getSampleSource() {
	return sampleSource;
}
public void setSampleSource(String sampleSource) {
	this.sampleSource = sampleSource;
}
public String getTestType() {
	return testType;
}
public void setTestType(String testType) {
	this.testType = testType;
}
public String getStartDate() {
	return startDate;
}
public void setStartDate(String startDate) {
	this.startDate = startDate;
}
public String getEndDate() {
	return endDate;
}
public void setEndDate(String endDate) {
	this.endDate = endDate;
}
public Integer getPage() {
	return page;
}
public void setPage(Integer page) {
	this.page = page;
}
public Integer getPageSize() {
	return pageSize;
}
public void setPageSize(Integer pageSize) {
	this.pageSize = pageSize;
}
@Override
public int compareTo(Sample o) {
	int i =o.getId()- this.getId();//先按照id排序   
    return i;  
}


}
